//工单状态
const WORDER_START_dispatchedworker = 2; //2:开始-已派工
const WORDER_START_receivedorders = 3; //3:开始-已接单
const WORDER_START_ordertimeout = 4; //4:开始-接单超时
const WORDER_START_returnedorder = 5; //5:开始-已退单

const WORDER_worksitehandle = 6; //6:现场处理,		
const WORDER_waitfor = 7; //7: 等待,
const WORDER_finished = 8; //8:完工,
const WORDER_cancel = 9; //9:取消,
const WORDER_rework = 10; //10:返工,
const WORDER_end = 11; //11:结束

//原因代码
const WORDER_UPDATE_CODE = 16; //更新
//const WORDER_appointment_code = 5; //预约
const WORDER_consult_code = 8; //咨询
const WORDER_rework_code = 14; //返工
const WORDER_APPOINTMENT_CODE = 5; //工单预约
//完工类型
const WORDER_FINISH_Intall = 1; //安装
const WORDER_FINISH_Repair = 2; //维修
const WORDER_FINISH_Maintain = 3; //保养
const WORDER_FINISH_Relocation = 4; //移机
const WORDER_FINISH_ReturnOrReplace = 5; //退换机
const WORDER_FINISH_TradeIn = 6; //以旧换新

export default {
	WORDER_START_dispatchedworker,
	WORDER_START_receivedorders,
	WORDER_START_ordertimeout,
	WORDER_START_returnedorder,
	WORDER_worksitehandle,
	WORDER_waitfor,
	WORDER_finished,
	WORDER_cancel,
	WORDER_rework,
	WORDER_end,
	WORDER_UPDATE_CODE,
	WORDER_consult_code,
	WORDER_APPOINTMENT_CODE,
	WORDER_rework_code,
	WORDER_FINISH_Intall,
	WORDER_FINISH_Repair,
	WORDER_FINISH_Maintain,
	WORDER_FINISH_Relocation,
	WORDER_FINISH_ReturnOrReplace,
	WORDER_FINISH_TradeIn,
}
